STOREGROWTH\SPSB\Modules\BoGo\Includes\OrderBogo C

Total Complexity 122
Dependencies 1
Dependents 1
Total lines 479
Lines of code 341
Logical lines of code 225
Comment lines 62
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
display_bogo_floating_badge_on_product()
B
41 22 49
bogo_product_frontend_view()
B
38 18 68
save_bogo_settings()
B
42 17 46
handle_cart_update()
A
47 13 31
apply_bogo_product()
A
46 10 36
is_bogo_applicable()
A
58 9 14
add_offer_product_to_cart()
S
62 5 10
add_bogo_product_data_tab()
S
57 4 15
add_bogo_product_data_fields()
S
61 4 12
add_custom_text_for_offer_product()
S
61 4 11
add_custom_class_to_offer_product()
S
67 4 7
remove_linked_bogo_product()
S
67 4 7
woocommerce_custom_price_to_cart_item()
S
65 4 9
update_woocommerce_item_price()
S
62 3 11
__construct()
S
57 1 15